void loading()
{
	int i;
	for (i=15;i<66;i++)
		{
			gotoxy(i,15);printf ("%c",196);
			gotoxy(i,17);printf ("%c",196);
		}
	gotoxy(14,16);printf ("%c",219);
	gotoxy(66,16);printf ("%c",219);
	gotoxy(36,16);printf ("LOADING");
	for (i=15;i<66;i++)
		{
			if ((i>=36)&&(i<43)) continue;
			gotoxy(i,16);printf ("%c",219);
			gotoxy(61,18);printf ("%3.d%%",(i-15)*2);
			Sleep (100);
		}
	gotoxy(1,23);
	Sleep(2000);
}